package com.pmdesigns.sqlmapper;


/**
 * Simple structure representing a foreign key and the model it refers to.
 * <p>
 * It is intened that its public fields be accessed directly from java-code-tags
 * and java-expression-tags in template files.
 *
 * @author mike dooley
 */
public class ForeignKey {
	/**
	 * This refers to the column where this foreign key is defined.
	 */
	public final Field field;

	/**
	 * This is the model that this foreign key refers to.
	 */
	public final Model model;

	
	ForeignKey(Field f, Model m) {
		field = f;
		model = m;
	}
}
